package com.adb.androidwebalbum.utils;

import android.content.Context;
import android.os.Environment;


public class Const {
	
	public static String PREF_FILE = "Photo_Gallery";
	
	//APPLICATION CONSTANCE WILL GOES HERE
	public static String APP_HOME = Environment.getExternalStorageDirectory().getPath() + "/Photo_Gallery";
	public static String PRIVATE_DATA = "/data/data/com.adb.androidwebalbum/";
	
	
	public static String LOG_DIR = APP_HOME + "/log";
	public static String IMAGE_DIR = APP_HOME + "/images";
	public static String CATCH_IMAGE_DIR = APP_HOME + "/catch";
	public static String TEMP_IMAGE_DIR = APP_HOME + "/temp";
	public static String THUMBNAIL_DIR = APP_HOME + "/thumbnails";
	
	public static Context CONTEXT = null;
	public static final String OFFSET = "offset";
	public static final String LIMIT = "limit";
	
	public static final String HOST = "http://x1.appxcraft.com/APhoto/";
	public static final String OPERATION_GET_PHOTOS = HOST + "getPhotos";
	
	public static String FILE_PHOTOS_LIST = PRIVATE_DATA + "FILE_PHOTOS_LIST.sr";
	
	
	// ACtIVITY PREF,INTENT FLAG ETC GOES HERE 

	/** IF IT SET FLAG FALSE THEN IT WILL NOT DISPLAY IN DDMS
		AND TRASH LOG HTML WILL START MAINTAIN THE ERROR OF APPLICATION
	 **/
	public static Boolean flag = true;
	
	
	public static String INTENT_POSITION = "POSITION";
	public static String INTENT_IMAGES_ARRAY = "IMAGES_ARRAY";
	
	
	
	
}

